import vue from 'vue'
import vuex from 'vuex'

vue.use(vuex);

const store = new vuex.Store({
    state:{
        count:123,
        melon:"123"
    },
    mutations:{
        increment(state){
            state.count--
        }
    }
});

export default store;